package top.juntower.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.juntower.dao.FirstPageInformationMapper;
import top.juntower.pojo.FirstPageInformation;
import top.juntower.pojo.FirstPageInformationHot;
import top.juntower.pojo.FirstPageInformationNew;
import top.juntower.service.FirstPageInformationService;

import java.util.List;

@Service
public class FirstPageInformationServiceImpl implements FirstPageInformationService {

    @Autowired
    private FirstPageInformationMapper firstPageInformationMapper;

    @Override
    public List<FirstPageInformation> firstPageLun() {
        return firstPageInformationMapper.firstPageLun();
    }

    @Override
    public List<FirstPageInformationNew> firstPageJing() {
        return firstPageInformationMapper.firstPageJing();
    }

    @Override
    public List<FirstPageInformationHot> firstPageHot() {
        return firstPageInformationMapper.firstPageHot();
    }

    @Override
    public List<FirstPageInformationHot> firstPageHotRanking() {
        return firstPageInformationMapper.firstPageHotRanking();
    }
}
